package com.qianchang.microfinance.bean;

import java.util.List;

/**
 * Created by jinbailiang on 2017/9/4.
 */

public class RepaymentRecordBean {


    /**
     * repaidAmount : 1572.46
     * list : [{"id":"00101505393638908102","mode":"3","overdueDays":0,"paidInterest":320,"paidOverdue":0,"paidPrincipal":800,"paidTotal":1120,"paidWeiyuejin":0,"period":1,"planId":"00101505390666376377","projectId":"00101505390419612296","realPayDate":"2017-09-14 00:00:00","realPayTime":1505318400000,"shouldInterest":9600,"shouldPayTime":1507910400000,"shouldPrincipal":156842.24,"userId":"00101505273835795799"}]
     */

    private String repaidAmount;
    private List<ListBean> list;

    public String getRepaidAmount() {
        return repaidAmount;
    }

    public void setRepaidAmount(String repaidAmount) {
        this.repaidAmount = repaidAmount;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : 00101505393638908102
         * mode : 3
         * overdueDays : 0
         * paidInterest : 320
         * paidOverdue : 0
         * paidPrincipal : 800
         * paidTotal : 1120
         * paidWeiyuejin : 0
         * period : 1
         * planId : 00101505390666376377
         * projectId : 00101505390419612296
         * realPayDate : 2017-09-14 00:00:00
         * realPayTime : 1505318400000
         * shouldInterest : 9600
         * shouldPayTime : 1507910400000
         * shouldPrincipal : 156842.24
         * userId : 00101505273835795799
         */

        private String id;
        private int mode;//还款记录的还款类型有4种，包括：0正常还款、1逾期还款、2全部提前还款、3部分提前还款；
        private int overdueDays;
        private double paidInterest;
        private double paidOverdue;
        private double paidPrincipal;
        private double paidTotal;
        private double paidWeiyuejin;
        private int period;
        private String planId;
        private String projectId;
        private String realPayDate;
        private long realPayTime;
        private double shouldInterest;
        private long shouldPayTime;
        private double shouldPrincipal;
        private String userId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getMode() {
            return mode;
        }

        public void setMode(int mode) {
            this.mode = mode;
        }

        public int getOverdueDays() {
            return overdueDays;
        }

        public void setOverdueDays(int overdueDays) {
            this.overdueDays = overdueDays;
        }

        public double getPaidInterest() {
            return paidInterest;
        }

        public void setPaidInterest(double paidInterest) {
            this.paidInterest = paidInterest;
        }

        public double getPaidOverdue() {
            return paidOverdue;
        }

        public void setPaidOverdue(double paidOverdue) {
            this.paidOverdue = paidOverdue;
        }

        public double getPaidPrincipal() {
            return paidPrincipal;
        }

        public void setPaidPrincipal(double paidPrincipal) {
            this.paidPrincipal = paidPrincipal;
        }

        public double getPaidTotal() {
            return paidTotal;
        }

        public void setPaidTotal(double paidTotal) {
            this.paidTotal = paidTotal;
        }

        public double getPaidWeiyuejin() {
            return paidWeiyuejin;
        }

        public void setPaidWeiyuejin(double paidWeiyuejin) {
            this.paidWeiyuejin = paidWeiyuejin;
        }

        public int getPeriod() {
            return period;
        }

        public void setPeriod(int period) {
            this.period = period;
        }

        public String getPlanId() {
            return planId;
        }

        public void setPlanId(String planId) {
            this.planId = planId;
        }

        public String getProjectId() {
            return projectId;
        }

        public void setProjectId(String projectId) {
            this.projectId = projectId;
        }

        public String getRealPayDate() {
            return realPayDate;
        }

        public void setRealPayDate(String realPayDate) {
            this.realPayDate = realPayDate;
        }

        public long getRealPayTime() {
            return realPayTime;
        }

        public void setRealPayTime(long realPayTime) {
            this.realPayTime = realPayTime;
        }

        public double getShouldInterest() {
            return shouldInterest;
        }

        public void setShouldInterest(double shouldInterest) {
            this.shouldInterest = shouldInterest;
        }

        public long getShouldPayTime() {
            return shouldPayTime;
        }

        public void setShouldPayTime(long shouldPayTime) {
            this.shouldPayTime = shouldPayTime;
        }

        public double getShouldPrincipal() {
            return shouldPrincipal;
        }

        public void setShouldPrincipal(double shouldPrincipal) {
            this.shouldPrincipal = shouldPrincipal;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }
}
